<script setup lang="ts" name="Refresh">

import { IconifyIcon } from '@/components/IconifyIcon'
import {useSettingsStoreWithOut} from "@/stores/modules/settings";

const settingsStore = useSettingsStoreWithOut()
const onRefresh = () => {
    settingsStore.setRefresh()
}

</script>

<template>

  <div class="btn">
      <el-tooltip content="刷新">
          <el-button circle @click="onRefresh">
              <IconifyIcon icon="ri:refresh-line" height="16" />
          </el-button>
      </el-tooltip>
  </div>

</template>

<style scoped lang="scss">
.btn {
  margin-right: 20px;
  cursor: pointer;
  transition: all 0.3s;
}
</style>